home *** CD-ROM | disk | FTP | other *** search
/ AOL File Library: 2,801 to 2,900 / aol-file-protocol-4400-2801-to-2900.zip / AOLDLs / C++ Files Library / HyperCuber Source / HyperCuber 2.0 Source.sit / HyperCuber 2.0 Source / CHyperScrollBar.h < prev    next >
Text File  |  1993-09-24  |  722b  |  29 lines

  1. //|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  2. //| CHyperScrollBar
  3. //|
  4. //| This is the interface to  a pane containing a number which reflects
  5. //| the setting of a scroll bar
  6. //|______________________________________________________________________
  7.  
  8. #include <CScrollBar.h>
  9.  
  10. class CHyperScrollBar : public CScrollBar
  11.     {
  12.     
  13.     Boolean fWrap;                    //  TRUE if the bar should wrap-around
  14.     
  15.   public:
  16.  
  17.     void    IHyperScrollBar(CView *enclosure, CBureaucrat *supervisor,
  18.                             Orientation orientation, short length,
  19.                             short horiz, short vert, Boolean wrap);
  20.     void    Dispose(void);
  21.     
  22.     void    SetValue(short value);
  23.  
  24.     void    DoClick(Point hitPt, short modifierKeys, long when);
  25.  
  26.     void    TrackThumb(void);
  27.     
  28.     };
  29.